package accs.model.utils;

import org.apache.http.Header;
import org.apache.http.message.BasicHeader;

public class HeaderUtils {
	public static Header getUserAgent() { 
		return new BasicHeader("User-Agent","Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0");
	}
	
	/*
	 * verschiedene User-Agents
	 * Googlebot/2.1 ( http://www.googlebot.com/bot.html)
	 * Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
	 * facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)
	 * facebookscraper/1.0(+http://www.facebook.com/sharescraper_help.php)
	 * Mozilla/5.0 (PLAYSTATION 3; 2.00)
	 * MSNBOT_Mobile MSMOBOT Mozilla/2.0 (compatible; MSIE 4.02; Windows CE; Default)
	 * msnbot-media/1.1 (+http://search.msn.com/msnbot.htm)
	 * 
	 */
	
	public static Header getReferer(String from) {
		return new BasicHeader("Referer",from);
	}
}